package com.study.testSSMPlus.config;

import org.springframework.stereotype.Component;

import com.baomidou.mybatisplus.core.incrementer.IdentifierGenerator;

@Component
public class CustomIdGenerator implements IdentifierGenerator {

	@Override
	public Integer nextId(Object entity) {
		
		return 5;
	}
	
	@Override
	public String nextUUID(Object entity) {
		return IdentifierGenerator.super.nextUUID(entity);
	}

}
